-- GENERATED SPELL FOR [Temper] --


function spell0_17205(pUnit, Event) --@Fireball,n/a--
pUnit:FullCastSpellOnTarget(30218,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17205', 1000, 1)
end

function Sorts_17205(pUnit, Event)
local choix_sorts_17205 = math.random(0, 0)
if choix_sorts_17205 == 0 then
pUnit:RegisterEvent('spell0_17205', 1, 1)
end
end

function mob17205_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17205', math.random(1500, 3000), 1)
end

function mob17205_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17205_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17205_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17205, 1, 'mob17205_Action')
RegisterUnitEvent(17205, 2, 'mob17205_Leave')
RegisterUnitEvent(17205, 3, 'mob17205_Kill')
RegisterUnitEvent(17205, 4, 'mob17205_Die')
